from django.conf.urls import url

from . import views

urlpatterns = [

    url(r'^list/(?P<category_id>\d+)/(?P<page_num>\d+)/$', views.ListView.as_view(), name='list'),
    url(r'^hot/(?P<category_id>\d+)/$', views.HotGoodsView.as_view(), name='hot'),
    url(r'^detail/(?P<category_id>\d+)/$', views.DetialView.as_view(), name='detail'),
    url(r'^detail/visit/(?P<category_id>\d+)/$', views.DetialVisitCount.as_view(), name='detailvisit'),


]
